package com.xbongbong.pro.domain.entity;

import com.xbongbong.paas.enums.DelEnum;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.io.Serializable;

/**
 * @author 吴峰
 * @date 2021/03/03 14:22
 */
@Setter
@Getter
@ToString
public class DeveloperEntity implements Serializable {


    private static final long serialVersionUID = -6197786424987306689L;
    private Long id;

    private String corpid;

    private String developer;
    /**
     * 开发权限范围 [{"id": 表单id, "businessType": 业务类型}]
     */
    private String devPermission;

    private String memo;

    private String creatorId;

    private Long addTime;

    private Long updateTime;

    private Integer del;

    public DeveloperEntity(String corpid, String developer, String devPermission, String memo, String creatorId) {
        this.corpid = corpid;
        this.developer = developer;
        this.devPermission = devPermission;
        this.memo = memo;
        this.creatorId = creatorId;
        this.del = DelEnum.NORMAL.getDel();
    }

    public DeveloperEntity() {
        this.del = DelEnum.NORMAL.getDel();
    }
}
